\section{NFcore::CompositeFunction Class Reference}
\label{classNFcore_1_1CompositeFunction}\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}}
{\tt \#include $<$NFfunction.hh$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf CompositeFunction} ({\bf System} $\ast$s, string {\bf name}, string expression, vector$<$ string $>$ \&functions, vector$<$ string $>$ \&{\bf argNames}, vector$<$ string $>$ \&{\bf paramNames})
\item 
{\bf $\sim$CompositeFunction} ()
\item 
string {\bf getName} () const 
\item 
void {\bf updateParameters} ({\bf System} $\ast$s)
\item 
void {\bf finalizeInitialization} ({\bf System} $\ast$s)
\item 
void {\bf prepareForSimulation} ({\bf System} $\ast$s)
\item 
void {\bf setGlobalObservableDependency} ({\bf ReactionClass} $\ast$r, {\bf System} $\ast$s)
\item 
double {\bf evaluateOn} ({\bf Molecule} $\ast$$\ast$molList, int $\ast$scope, int $\ast$curReactantCounts, int n\_\-reactants)
\item 
void {\bf printDetails} ({\bf System} $\ast$s)
\item 
int {\bf getNumOfArgs} () const 
\item 
string {\bf getArgName} (int aIndex) const 
\item 
void {\bf addTypeIMoleculeDependency} ({\bf MoleculeType} $\ast$mt)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
string {\bf name}
\item 
string {\bf originalExpression}
\item 
string {\bf parsedExpression}
\item 
unsigned int {\bf n\_\-allFuncs}
\item 
string $\ast$ {\bf allFuncNames}
\item 
unsigned int {\bf n\_\-args}
\item 
string $\ast$ {\bf argNames}
\item 
unsigned int {\bf n\_\-params}
\item 
string $\ast$ {\bf paramNames}
\item 
int {\bf n\_\-gfs}
\item 
string $\ast$ {\bf gfNames}
\item 
{\bf GlobalFunction} $\ast$$\ast$ {\bf gfs}
\item 
double $\ast$ {\bf gfValues}
\item 
int {\bf n\_\-lfs}
\item 
string $\ast$ {\bf lfNames}
\item 
{\bf LocalFunction} $\ast$$\ast$ {\bf lfs}
\item 
int {\bf n\_\-reactantCounts}
\item 
double $\ast$ {\bf reactantCount}
\item 
int {\bf n\_\-refLfs}
\item 
int $\ast$ {\bf refLfInds}
\item 
string $\ast$ {\bf refLfRefNames}
\item 
int $\ast$ {\bf refLfScopes}
\item 
double $\ast$ {\bf refLfValues}
\item 
mu::Parser $\ast$ {\bf p}
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!CompositeFunction@{CompositeFunction}}
\index{CompositeFunction@{CompositeFunction}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}CompositeFunction::CompositeFunction ({\bf System} $\ast$ {\em s}, string {\em name}, string {\em expression}, vector$<$ string $>$ \& {\em functions}, vector$<$ string $>$ \& {\em argNames}, vector$<$ string $>$ \& {\em paramNames})}\label{classNFcore_1_1CompositeFunction_079c7d106715fb7173ff8af596120eeb}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!$\sim$CompositeFunction@{$\sim$CompositeFunction}}
\index{$\sim$CompositeFunction@{$\sim$CompositeFunction}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}CompositeFunction::$\sim$CompositeFunction ()}\label{classNFcore_1_1CompositeFunction_bab4b35111878b8b7ddd17a46571e614}




\subsection{Member Function Documentation}
\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!getName@{getName}}
\index{getName@{getName}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string NFcore::CompositeFunction::getName () const\hspace{0.3cm}{\tt  [inline]}}\label{classNFcore_1_1CompositeFunction_7da7067eef107591b79093a216f5507e}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!updateParameters@{updateParameters}}
\index{updateParameters@{updateParameters}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CompositeFunction::updateParameters ({\bf System} $\ast$ {\em s})}\label{classNFcore_1_1CompositeFunction_860e0f25047cf775954b38fac17539ac}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!finalizeInitialization@{finalizeInitialization}}
\index{finalizeInitialization@{finalizeInitialization}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CompositeFunction::finalizeInitialization ({\bf System} $\ast$ {\em s})}\label{classNFcore_1_1CompositeFunction_4e7eaf3b0a3ce50d62a692db67c91bc2}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!prepareForSimulation@{prepareForSimulation}}
\index{prepareForSimulation@{prepareForSimulation}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CompositeFunction::prepareForSimulation ({\bf System} $\ast$ {\em s})}\label{classNFcore_1_1CompositeFunction_e9f8a40d245a53bd02d9cbe62bf1ad26}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!setGlobalObservableDependency@{setGlobalObservableDependency}}
\index{setGlobalObservableDependency@{setGlobalObservableDependency}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CompositeFunction::setGlobalObservableDependency ({\bf ReactionClass} $\ast$ {\em r}, {\bf System} $\ast$ {\em s})}\label{classNFcore_1_1CompositeFunction_aee450c66a54e48b4e216fe2934993f0}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!evaluateOn@{evaluateOn}}
\index{evaluateOn@{evaluateOn}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double CompositeFunction::evaluateOn ({\bf Molecule} $\ast$$\ast$ {\em molList}, int $\ast$ {\em scope}, int $\ast$ {\em curReactantCounts}, int {\em n\_\-reactants})}\label{classNFcore_1_1CompositeFunction_54e110e74cdf44c792525ab3bd4b4dbc}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!printDetails@{printDetails}}
\index{printDetails@{printDetails}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CompositeFunction::printDetails ({\bf System} $\ast$ {\em s})}\label{classNFcore_1_1CompositeFunction_c22b3c067ed81cb7d0c5070b813eb48a}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!getNumOfArgs@{getNumOfArgs}}
\index{getNumOfArgs@{getNumOfArgs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int CompositeFunction::getNumOfArgs () const}\label{classNFcore_1_1CompositeFunction_96a75d6dcf59728020bd5237ea484291}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!getArgName@{getArgName}}
\index{getArgName@{getArgName}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string CompositeFunction::getArgName (int {\em aIndex}) const}\label{classNFcore_1_1CompositeFunction_765257a38fa43c0afaecbff420d5b5d0}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!addTypeIMoleculeDependency@{addTypeIMoleculeDependency}}
\index{addTypeIMoleculeDependency@{addTypeIMoleculeDependency}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void CompositeFunction::addTypeIMoleculeDependency ({\bf MoleculeType} $\ast$ {\em mt})}\label{classNFcore_1_1CompositeFunction_a08ad71a58ac5a6e86774d441000b901}




\subsection{Member Data Documentation}
\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!name@{name}}
\index{name@{name}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string {\bf NFcore::CompositeFunction::name}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_d44503fdad9de7af35c3a0b6a876396a}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!originalExpression@{originalExpression}}
\index{originalExpression@{originalExpression}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string {\bf NFcore::CompositeFunction::originalExpression}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_c7408d714c84950bf382ae85fb3a5003}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!parsedExpression@{parsedExpression}}
\index{parsedExpression@{parsedExpression}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string {\bf NFcore::CompositeFunction::parsedExpression}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_41854368e223def2ee996b466c850b50}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-allFuncs@{n\_\-allFuncs}}
\index{n\_\-allFuncs@{n\_\-allFuncs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf NFcore::CompositeFunction::n\_\-allFuncs}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_5b9bb7a8abf16242bdde14e19bc1963d}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!allFuncNames@{allFuncNames}}
\index{allFuncNames@{allFuncNames}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string$\ast$ {\bf NFcore::CompositeFunction::allFuncNames}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_a5c09827b4181bf8da0e167409e4aef7}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-args@{n\_\-args}}
\index{n\_\-args@{n\_\-args}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf NFcore::CompositeFunction::n\_\-args}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_25694f7e3fceddba531667a3ade8b3a8}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!argNames@{argNames}}
\index{argNames@{argNames}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string$\ast$ {\bf NFcore::CompositeFunction::argNames}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_e584724b4020cff9d4f19c1897c4c0ff}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-params@{n\_\-params}}
\index{n\_\-params@{n\_\-params}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf NFcore::CompositeFunction::n\_\-params}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_46b07a6027e55b8d9a4367969c46be7b}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!paramNames@{paramNames}}
\index{paramNames@{paramNames}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string$\ast$ {\bf NFcore::CompositeFunction::paramNames}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_f5e5ca6521ef4ea5b428c2961e875154}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-gfs@{n\_\-gfs}}
\index{n\_\-gfs@{n\_\-gfs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf NFcore::CompositeFunction::n\_\-gfs}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_bf0b46d15ed2c8cae688d7891e93bcd0}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!gfNames@{gfNames}}
\index{gfNames@{gfNames}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string$\ast$ {\bf NFcore::CompositeFunction::gfNames}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_0b5baba9074b04e592f7c4206f138385}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!gfs@{gfs}}
\index{gfs@{gfs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf GlobalFunction}$\ast$$\ast$ {\bf NFcore::CompositeFunction::gfs}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_d0fce3724d5c72fc1d7b36ce6bb4a637}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!gfValues@{gfValues}}
\index{gfValues@{gfValues}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ {\bf NFcore::CompositeFunction::gfValues}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_625fe96c86452253b9aea5b53ef00983}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-lfs@{n\_\-lfs}}
\index{n\_\-lfs@{n\_\-lfs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf NFcore::CompositeFunction::n\_\-lfs}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_8e45ef6aadb6cf85889ef088d8cb1158}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!lfNames@{lfNames}}
\index{lfNames@{lfNames}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string$\ast$ {\bf NFcore::CompositeFunction::lfNames}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_6c04c3c69d14e229f2b1bca6c538e6bd}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!lfs@{lfs}}
\index{lfs@{lfs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf LocalFunction}$\ast$$\ast$ {\bf NFcore::CompositeFunction::lfs}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_56404a85556958ea07cae1c6608bd413}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-reactantCounts@{n\_\-reactantCounts}}
\index{n\_\-reactantCounts@{n\_\-reactantCounts}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf NFcore::CompositeFunction::n\_\-reactantCounts}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_dabc009cc78b6dc79f2a4dad6f39cd5f}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!reactantCount@{reactantCount}}
\index{reactantCount@{reactantCount}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ {\bf NFcore::CompositeFunction::reactantCount}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_d0db079247246862bccfb3d6b6ce2e73}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!n\_\-refLfs@{n\_\-refLfs}}
\index{n\_\-refLfs@{n\_\-refLfs}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf NFcore::CompositeFunction::n\_\-refLfs}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_cc964d25a1d6937ca95d3fe859e0b79d}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!refLfInds@{refLfInds}}
\index{refLfInds@{refLfInds}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf NFcore::CompositeFunction::refLfInds}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_1f444c9f22fb824eca77919003441ae9}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!refLfRefNames@{refLfRefNames}}
\index{refLfRefNames@{refLfRefNames}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}string$\ast$ {\bf NFcore::CompositeFunction::refLfRefNames}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_54a7a440a4685321917eeed5d944d4cd}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!refLfScopes@{refLfScopes}}
\index{refLfScopes@{refLfScopes}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf NFcore::CompositeFunction::refLfScopes}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_c27fc438a93f9349f6b0193cbee78118}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!refLfValues@{refLfValues}}
\index{refLfValues@{refLfValues}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ {\bf NFcore::CompositeFunction::refLfValues}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_7d94d1123493949d9d333aafafdc4f95}


\index{NFcore::CompositeFunction@{NFcore::CompositeFunction}!p@{p}}
\index{p@{p}!NFcore::CompositeFunction@{NFcore::CompositeFunction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}mu::Parser$\ast$ {\bf NFcore::CompositeFunction::p}\hspace{0.3cm}{\tt  [protected]}}\label{classNFcore_1_1CompositeFunction_21c7c20de56910c1b4299a050b7a399a}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/home/msneddon/eclipse/galileoSR1\_\-cpp/workspace/NFsim/src/NFfunction/{\bf NFfunction.hh}\item 
/home/msneddon/eclipse/galileoSR1\_\-cpp/workspace/NFsim/src/NFfunction/{\bf compositeFunction.cpp}\end{CompactItemize}
